﻿


using NB.MGJ.Common;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NB.MGJ.Model
{


    public class Origins_Templet
    {

        /// <summary>
        ///  产品IDProductProductID外键
        /// </summary>
        [Property("Key")]
        public int TempletId
        {
            get;
            set;
        }

        /// <summary>
        ///  
        /// </summary>
        public int? EnterpriseId
        {
            get;
            set;
        }

        /// <summary>
        ///  模板编号
        /// </summary>
        public string Code
        {
            get;
            set;
        }

        /// <summary>
        ///  模板名称
        /// </summary>
        public string Name
        {
            get;
            set;
        }

        /// <summary>
        ///  分类id
        /// </summary>
        public int? ClassifyId
        {
            get;
            set;
        }

        /// <summary>
        ///  备注
        /// </summary>
        public string Remark
        {
            get;
            set;
        }

        /// <summary>
        ///  是否删除0未删除1已删除主键为产品表外键只能物理删除不然无法添加新的实体
        /// </summary>
        public int? ViewDel
        {
            get;
            set;
        }

        /// <summary>
        ///  
        /// </summary>
        public int? ChangeLoginID
        {
            get;
            set;
        }

        /// <summary>
        ///  
        /// </summary>
        public string ChangeLoginName
        {
            get;
            set;
        }

        /// <summary>
        ///  
        /// </summary>
        public DateTime ChangeDate
        {
            get;
            set;
        }

        [NotMapped]
        public string ClassifyName
        {
            get;
            set;
        }

    }



}











